package com.bw.task.adapter;

import com.flyco.tablayout.listener.CustomTabEntity;

public class MyTab implements CustomTabEntity {

    public MyTab(String titile) {
        this.titile = titile;
    }

    public MyTab(int m, int n) {
        this.m = m;
        this.n = n;
    }

    private String titile;
    private int m;
    private int n;

    public MyTab(String titile, int m, int n) {
        this.titile = titile;
        this.m = m;
        this.n = n;
    }

    @Override
    public String getTabTitle() {
        return titile;
    }

    @Override
    public int getTabSelectedIcon() {
        return m;
    }

    @Override
    public int getTabUnselectedIcon() {
        return n;
    }
}
